package cn.itsource.org.domain;

public class Employee {
    private Long id;
    private String         username;
    private String email;
    private String         phone;
    private String salt;
    private String         password;
    private Integer age;
    private Integer         state;

    public Employee() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", salt='" + salt + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                ", state=" + state +
                '}';
    }

    public Employee(Long id, String username, String email, String phone, String salt, String password, Integer age, Integer state) {
        this.id = id;
        this.username = username;
        this.email = email;
        this.phone = phone;
        this.salt = salt;
        this.password = password;
        this.age = age;
        this.state = state;


    }
}
